package com.zlx.ssm.mapper;


import com.zlx.ssm.model.EmployeeInfo;
import com.zlx.ssm.vo.DateInfo;
import com.zlx.ssm.vo.SelectVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeInfoMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(EmployeeInfo record);

    int insertSelective(EmployeeInfo record);

    EmployeeInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EmployeeInfo record);

    int updateByPrimaryKey(EmployeeInfo record);

    int selectByPrimaryKeyNot();

    List<EmployeeInfo> updateByPrimaryAll(@Param("employeeInfo") EmployeeInfo employeeInfo,@Param("page") Integer page,@Param("limt") Integer limt);

    EmployeeInfo selectEmploByNameNot(String name);

    void intsertEployee(EmployeeInfo employeeInfo1);

    int deleteByBirthdayNotList(@Param("dateInfoList") List<DateInfo> dateInfoList);

}